Skip to content

Conversation

@WhitWaldo
Copy link
Contributor

Description

This PR adds an analyzer for Dapr.Actors that validates that when a timer is registered, the method name it specifies in the callback actually exists on that actor type.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: N/A

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

…ors. The starting analyzer in this package validates that there's a method on the actor type matching the name provided in the timer callback argument.

Signed-off-by: Whit Waldo <[email protected]>
@WhitWaldo WhitWaldo added this to the v1.16 milestone Apr 9, 2025
@WhitWaldo WhitWaldo moved this from Backlog to In review in v1.16 Release Tracking Board Apr 9, 2025
@WhitWaldo WhitWaldo merged commit e477cf7 into dapr:release-1.16 Apr 9, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in v1.16 Release Tracking Board Apr 9, 2025
@WhitWaldo WhitWaldo deleted the actor-timer-analyzer branch April 9, 2025 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant